import request from '@/utils/request'


//获取班级列表
export function getClassList(boj) {
  console.log(boj);
  return request({
    url: '/user/getClassName',
    method: 'get',
    zzmflag: true,
    params: boj
  })
}

//获取统计
export function getCompanyApi(boj) {
  console.log(boj);
  return request({
    url: '/user/getClassCount',
    method: 'get',
    zzmflag: true,
    params: boj
  })
}

export function getCompany(data) {
  console.log(data, 11);
  return request({
    url: '/user/getCompany',
    method: 'get',
    zzmflag: true,
    params: data
  })
}

//添加

export function addCompany(data) {
  console.log(data, 11);
  return request({
    url: '/user/addCompany',
    method: 'post',
    zzmflag: true,
    data: data
  })
}
//获取面试学生列表
export function getUserListApi(data) {
  console.log(data, 11);
  return request({
    url: '/user/getUserList',
    method: 'get',
    zzmflag: true,
    params: data
  })
}
//获取面试统计·
export function getCompanymianApi(data) {
  console.log(data, 11);
  return request({
    url: '/user/getCompany',
    method: 'get',
    zzmflag: true,
    params: data
  })
}
//修改面试
export function editCompanyApi(data) {
  console.log(data, 11);
  return request({
    url: '/user/editCompany',
    method: 'post',
    zzmflag: true,
    data: data
  })
}

//获取面试信息
export function getCompanyAllApi(data) {
  console.log(data, 11);
  return request({
    url: '/user/getCompanyAll',
    method: 'post',
    zzmflag: true,
    data: data
  })
}

//点击详情
export function companyDetailApi(data) {
  console.log(data, 11);
  return request({
    url: '/user/companyDetail',
    method: 'post',
    zzmflag: true,
    data: data
  })
}